<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>9.14按钮作业</title>
    <style>
	body{
			background-color:purple;        
		}
		.btn{
			width: 100px;
			height: 50px;
			border:2px solid pink;
			text-align: center;
			line-height: 50px;
			color:pink;
			font-size: 20px;
		}
		.btn:hover{
			background-color:black;
			color:green;
			border:2px solid green;
		}
	</style>
</head>
<body>

</head>
<body>
	<div class="btn">button</div>

</body>
</html>